package org.llc.gof.structure.proxy.dynamic.basic2;

/**
 * @author harvey
 */
public class Client {
	
	public static void main(String[] args) {
		Subject subject = new RealSubject();
		Subject proxy = SubjectDynamicProxy.newProxyInstance(subject);
		proxy.doSomething("Finish");
		subject.doSomething( "Finish" );
	}
}
